package chen.huai.jie.spring.xmlconfig.web.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Api(tags = "登录")
@Controller
@RequestMapping(value = "/login")
public class LoginController extends BaseController {

    @ApiOperation(value = "登录接口.", notes = "登录接口")
    @RequestMapping(value = "/login")
    public ModelAndView index() {
        ModelAndView index = new ModelAndView();
        index.setViewName("login/login");
        return index;
    }
}

